package org.adream.account.rest.api.model;

import java.util.List;

public class UserForm {

	private String uid;

	private String uname;

	private String password;

	private String phone;
	
	private String oldPhone;

	private String email;
	
	private String oldEmail;
	
	private String code;
	
	private List<String> rleIds;

	public UserForm(String uid, String uname, String password, String phone, String email, List<String> rleIds) {
		super();
		this.uid = uid;
		this.uname = uname;
		this.password = password;
		this.phone = phone;
		this.email = email;
		this.rleIds = rleIds;
	}

	public UserForm() {
		super();
	}

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getOldPhone() {
		return oldPhone;
	}

	public void setOldPhone(String oldPhone) {
		this.oldPhone = oldPhone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getOldEmail() {
		return oldEmail;
	}

	public void setOldEmail(String oldEmail) {
		this.oldEmail = oldEmail;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public List<String> getRleIds() {
		return rleIds;
	}

	public void setRleIds(List<String> rleIds) {
		this.rleIds = rleIds;
	}

	@Override
	public String toString() {
		return "UserForm [uid=" + uid + ", uname=" + uname + ", password=" + password + ", phone=" + phone + ", email="
				+ email + ", rleIds=" + rleIds + "]";
	}
}
